<head>
<title>ADD PAY</title>
<link type="text/css" href="jquery-ui-1.8.13.custom/css/smoothness/jquery-ui-1.8.13.custom.css" rel="Stylesheet" />	
<script type="text/javascript" src="jquery-1.6.2.min.js"></script>
<script type="text/javascript" src="jquery-ui-1.8.13.custom/js/jquery-ui-1.8.13.custom.min.js"></script>
</head>
<body>
<script language="javascript">
function fncSubmit()
{
if(document.form1.sta_id.value == "")
	{
	alert('Please input Drug Staff Id');
		document.form1.sta_id.focus();
		return false;
	}
if(document.form1.fin_id.value == "")
	{
		alert('Please input Finance ID');
		document.form1.fin_id.focus();
		return false;
	}	  	
	document.form1.submit();
}

</script>
<br/>
<br/>
<center><h1>ADD PAY</h1></center>
<br/>
<center><table border=3 bordercolor="#ff99cc">
<tr><td>

<form name="form1" action="add-pay.php" method="post" onSubmit="JavaScript:return fncSubmit();">
	STAFF_ID: <input type="text" name="sta_id" /><br/>
	FINANCE_ID: <input type="text" name="fin_id" /><br/>
	<center><input type="submit" /></center>
	
</form>

</td></tr>
</table>
</body>
</html>
